﻿@model TCM.Registration

@{
    ViewBag.Title = "Create";
}

<table style="width: 99.9%">
    <tr>
        <td class="IndexBack">
            @Html.ActionLink(" ", "Index")</td>
        <td style="text-align: right">
            <span class="FormTitle">Regsiter New  Seat</span></td>
    </tr>
</table>
<br />

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Registration</legend>
        <ol>






            <li class="editor-label">
                @Html.LabelFor(model => model.StudentID, "Student")
                @Html.Awe().LookupFor(s=>s.StudentID).Controller("StudentLookup")
                @Html.DropDownList("StudentID", String.Empty)
                @Html.ValidationMessageFor(model => model.StudentID)
            </li>

            <li class="editor-label">
                @Html.LabelFor(model => model.SubjectID, "Course Subject")

                @Html.DropDownList("SubjectID", String.Empty)
                @Html.ValidationMessageFor(model => model.SubjectID)
            </li>






          

            <li class="editor-label">
                @Html.LabelFor(model => model.ApplicationFee, "Application Fee")

                @Html.EditorFor(model => model.ApplicationFee)
                @Html.ValidationMessageFor(model => model.ApplicationFee)
            </li>

            <li class="editor-label">
                @Html.LabelFor(model => model.PlacementTestFee, "Placement Test Fee")

                @Html.EditorFor(model => model.PlacementTestFee)
                @Html.ValidationMessageFor(model => model.PlacementTestFee)
            </li>

            <li class="editor-label">
                @Html.LabelFor(model => model.Discount, "Discount")

                @Html.EditorFor(model => model.Discount)
                @Html.ValidationMessageFor(model => model.Discount)
            </li>

            <li class="editor-label">
                @Html.LabelFor(model => model.TotalFee, "Total Fee")

                @Html.EditorFor(model => model.TotalFee)
                @Html.ValidationMessageFor(model => model.TotalFee)
            </li>
           

           
        </ol>
         <p>
                <input type="submit" value="Register" />
            </p>

    </fieldset>
}



@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
